package com.xingxuecn.limit.dao;

import com.xingxuecn.limit.common.model.Menu;
import com.xingxuecn.limit.common.model.Role;
import com.xingxuecn.limit.common.model.RoleMenu;

import java.sql.SQLException;
import java.util.List;


/**
 * @author 你的名字 at 2018/9/14 10:48
 */
public interface RoleUserDao {
    int add(RoleMenu roleMenu) throws SQLException;

    int delete(RoleMenu roleMenu) throws SQLException;

    List<Menu> loadMenuByRole(Integer roleId) throws SQLException;
}
